fixed canvas in Firefox
firefox fixes