mouse-event fixes (applicationDPI, mouseDownOutside+mouseUpInside!=click)