Fix modules view showing before data loaded