Instead of pausing the game before you go to desktop, just trying holding "alt" then press "esc." When you return to the game you wouldn't have to press esc again. See if it works.
I'll try that too. My mouse started to behave weird ever since 0.3d. I usually solved it by pressing and holding alt-tab and then using the mouse to click on the gta sa icon.