Fixed loading mask bug.