Fixing percent bar bug in FF