[BUGFIX] Avoid overwriting backend layout array if Grid is empty
Merge pull request #133 from NamelessCoder/belayoutoverwrite

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