implement make_inactive in mapbox-gl-cocoa