fix some crashes after the SlidingMenu is detached from its window and cleaned