Fixed horizontal offset in grid rendering