Fix offsets when drawing points
Fixes for windows compile