Fix DockLayout issue for ActivityIndicator