Fixed undefined var warnings in wpfMenuWalker