Draw logic for ui manager