* Fixed wrong behaviour when MouseMove and MouseUp delivered outside of modal window.