I have this issue when I use "alt+tab" to switch out of (or into) ubot or a compiled bot. What fixes it for me is to press "alt+backspace" when in ubot. It fixes it for me until I press "alt+tab" again. If that is the same issue for you, it is a known problem and the developers are aware of it.