Fix trackingEvents when Wrapper contains a Companion