Fix 3d perspective in Firefox