Fix for "No 'selected node' or 'hover' highlight"

Fix for "No 'selected node' or 'hover' highlight when rendering indexmenu in a sidebar"
Fixes #84