Fixed bug when the line break occours. The available space should never exceed