VID-2015 only loading assets once

This fixes an issue where galleries were being loaded twice inside the classic editor preview.