Fixed loading order for assets.