Fixes issue where modules loaded using bundle loader would be incorrectly merged to parent