Fix: coordinates error in canvas (#23)