fix bug with direction_alignment if transform is identity