Add check for mouse inside submenu

`is-active` is still only specific to our project.