[UIManager] Fixed a bug regarding HorizontalGroup/VerticalGroup not being instanced properly;