Fix bug with offsets and drawing dots in strings