[BUGFIX] Avoid overwriting backend layout array if Grid is empty