Prevent stage event registration if a moduleHost is available.