I'm using only variables to store window/control sizes and positions on the screen, hotkeys and mouseclicks (combined with these variables).
I noticed, that sometimes after modification - script isn't working correctly (each time) - mouse is shifted from proper positions. But after I push the script through debugger - it works fine there, and after that - it works correctly when running normally.
What an be reason for that?