Fixed case where isTypeOrClickInSamePlace could crash during Sel2 recording.