Fixes glitch in draw grid