Fixed grid drawing, works on windows