Change mouse behaviour to work in other windows

Change mouse behaviour. Will now work in other windows while game is running. Is still centered in game window when focused