Fix for menu related issues in Firefox (#19)