Added submenu rendering.