Set the handle to null when destroying a widget, fix #103