Possible fix for Firefox error

TypeError: setting a property that has only a getter