fix draw coordinates