UIManager patch