The Rotating display is not in the same position when the power is off

The Rotating display is not in the same position when the power is off. I have rock pi4 C-type, installed android 10 recommended for C-type, I have an issue with rotating display, I rotate display for 270 degrees and it is ok until disconnect from power. When power is on display is in old position 0 degrees.