fixed: convertMouseEvent to correct relative mouse positions