Fixed a nasty bug in FF.