fixed flashing black triangles while keeping grid