Check if UIContainer is enabled before docking content