[Mac] Fixed scrolling
[Mac] Fixed size calculation issues in RichTextView