Fixed initialization probelm with UI/controller sync