Added a condition in OptimalSize() to make forceSingleLine take line height into account before setting maxLines to one.