Add check coordinates in function "HandleSetLocation_".