More firefox fixes, roundoff issues and imagedata.data readonly.