fixed character rotation when moving