remove grid when there are textures