tentative commit for mouse capture.