Fixed mouse input on different systems