Fix style issue for grid-row on non-debug mode