Firefox: Show and hide condition is not working in Firefox.