Fix where loading overlay is left behind