Constrain moving to top and left border to not allow leaving the window