Fixed character rotation issue.