fix for loading screens disappearing

this fixes the disappearance of loading screens in pull request #514