Bugfix. Only makes sense to call apply on "oldCallback" if it's a function