fix GridLayer bounds