Add an option to capture mouse outside of the window