grid display bug fixes