Fixed die position after rotating

Fixed #13609