Rejigger how the subapp is mounted.