Fix transform-origin issues in Firefox