[frameImpulse] Check for function equality when removing callbacks from the listener list