Fix confusion between different kinds of coordinates in wxAUI code, restoring correct behaviour in high DPI on all platforms. See #2620. Closes #19331.