Go in full screen and the project wil be able to detect the mouse position even when it's offscreen :) This might be useful for some games (like 3d games) so I decided to share it.