fix scrollbar scale after zooming, and some details

- fix metrics for scrolling
- add fix for constant text input field size after scaling
- modified max and min scale for to avoid bugs of svg native rendering