Fixed the background disappearing bug.