Moved UIScaler creation back in the initialization order.

Now it is where it used to be, so you can create stuff in the
initStates event.