Corrected access to module's root element (closes #4183)