SimpleApplet camera "jumps" when restoring focus in browser

Hi all!

I'm implementing an applet with jME2 SimpleApplet in which I have the following mouse-look handler:

        MouseLookHandler mouseLook = new MouseLookHandler(cam, 0.4f);

Now when I rotate the cam in the applet, then click anywhere outside the applet (applet loses focus) and click the applet again, the cam "jumps" straight in the new direction, which is really annoying. Is there any way to avoid that, for example by changing the camera direction relatively to the mouse dragging, not to the position of the mouse? Also a smooth camera drive would do the job :)