Fix condition for setMatchesOnlyOnBestFittingAxis: calls.