Fix screen rotate 180 degrees issue