Fixed some character rotation bugs.