Fix UI

* Change UIContentHeight to UIContentWidth
* Support very small size (1280x760 or event smaller)