[BUGFIX] Fix resource loading in composer mode