OnExit/OnClipboardChange: fix return value if there was no previous func