refactored _canvasToX to _XconvertDOMtoCanvas and _xToCanvas to _XconvertCanvasToDOM (same for y)