Fix error when loading views too fast.