fix the crash lead by the NUIBarButtonItemRenderer bug