Fixed Text#refresh_size not handling multi-line strings