updatePosition method
Updates the cursor position to (x, y) if owner currently owns the cursor.
Implementation
void updatePosition(Object owner, int x, int y) {
if (_owner != owner) return;
_x = x;
_y = y;
if (_visible) {
_applyCursor();
}
}