Fixed behavior of form's point while clicking mouse