setSize working for editor with gridlayer
added culling to gridLayer