pointToInternal broken on firefox