If U mean the bug that....if u move the cursor below the bottom on the screen....U will have it on the top ;-P
I think that U just need to change som variables or have a screen limit like:
in C:
typedef ScreenX 320
typedef ScreenY 240
:
:
:
int cursorX,cursorY;
if(cursorX => ScreenX)...