Probably you have to experiment with the numbers to be used in order to get
the result you want.

To speed this up, I suggest playing back the video with DemoRecorder
and making a screenshot with gimp.
gimp displays the coordinates of the mouse cursor within a gimp-window.
Based on these coordinates you can get some good values for the numbers.