Fixing bug with paragraph wrapping