Fix bug with using viewBox height instead of width
Fix bug with pt to px calculation