@zliang7 this trick is a consequence of trying to make the handling of the window part of this extension, but it shouldn't be.

Regardless of whether the user want to know about screen orientation in JS, the screen should move. But this patch takes that code out of the window. As a consequence, you have to use this trick to force the `xwalk.screen` to be evaluated.