Fixed a bug regarding the disappearing mouse cursor

In window capture mode the mouse disappeared. There was an error in the
AddMouse function.