Careful with not capturing the mouse when it's already captured.