Fix 360-degree horizontal rotation