AX: Make indexForVisiblePosition consistent with visiblePositionForIndex