Window positioning not starts over from another pos when reaching to close to bottom or side