Added return false when map pos is not valid