Only use the 2D selection function when 3D selection isn't defined. Regression from e18a2c4ed7
e18a2c4ed7