C# limits the mouse active area and gets the mouse coordinates in time