Fixed orientation change issue, now it will use the key window supported orientations