De-register the filter on the root window when deallocating