Fixed incorrect string slicing that would screw up UTF-8 strings
So previously, Fractal would get the selected string part in the message with byte indexes. That doesn't work well with UTF-8 which has multi-byte characters. This should fix issue #335 (closed).