Fix active sub-menus which didn't disappear when hover changes

Signed-off-by: Martin Koistinen <mkoistinen@gmail.com>