fixed GridLayer not showing up after removing and adding the same instance