Fix UI test speed regression.