Fix issue where mouse isn't captured when madVR is used.
Merge pull request #172 from babgvant/master

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