flagrate.Button: Fixed a bug for Firefox