fix the check for if a relative is focused on map