Merge "Validate indices when requesting PointerCoords" into tm-dev