Fixed background loading crash.