Refs #5976, another fix for UI tests.