Add auto-tex scaling in UI