[BUGFIX] Improve performance of element rendering on flexforms