TextBox and ScrollBar fixes