Fix crash in PointerData equals comparison