Move the mouse around very slowly or very fast then stop. Then move the mouse again.
(In Scratch 2 it used to be much better. Now it is extremely laggish) The script is @-Nova-'s. I only changed a small parameter.