[BUGFIX] Fix event unbind when all widgets removed