Fixed rotation issues.