Fix wrong usage of RegisterXactCallback()