fixing map drawing -- yay hax