Fix Travis test failures due to UI element load order