Fix menu-not-showing bug which was introduced by SVG templatification.