BUG#95340 Fix labels out of the grid