Fix UI package activation bug