Fixed ExternalModule::output() for correct parent module rendering and
view context switching