Fix bug with text wrapping on Linux.