Fixed depth issues at load time.