Mouse emulation script without gap bug between 360<->0 degrees