fixes wonky rotate in ff