Fixed issue with menu auto-hide