Fixed bug where units wouldn't be drawn at correct location