Fixed iOS6.1 issue.(After clicking a menu, crash…)