Restrict mouse to fixed positions