Properly check if bundle is CCBundleTypeDefault

Needed for controlCenterWillAppear and controlCenterDidDisappear to be called.