Fixes bubble error in Firefox.