Fix the cursor jumping around UI glitch by brute force, so that hopefully
I never have to fix it again...