TRUNK-2312: Fixed a bug in Firefox