Fixed issue with showLoading not working in Standalone Framework. Closes #2653.