Make the direction-depended properties updated when the direction is changed. #56.