Fixed floating text creation working with spaces.