Fix issue where mouse isn't captured when madVR is used.