Untrounce callback overwritten in template cleanup