Make High-DPI fix work on KP < 2.28