Increase buffer size to avoid truncating styles, GitHub issue 3809 from