Fixes rotation inversion