Same issue here with miui 10 version 8.12.13, and other previous versions. It seems to me that the bug it's related to the stock browser. Could anyone make some tests? Restart device. Check sensors. Run browser and rotate the screen. Exit and try again the sensors.
Don't know if it's the...