fix rotating for firefox (mozilla)