fix screen off animation for devices with abnormal hardware orientation

Change-Id: I8f263218554fd78f99ababce05f34751c07c7f30