BUG: Fix HiDPI bug with PyQt6
The logic here unintentionally excluded PyQt6, so swap it so it's more future compatible (and compatible with PyQt6). The bug manifested itself by having clicks appear halfway too low and too the left on the screen in PyQt6.