title: UITextView text indicator in the wrong place
body: <p>I'm having an issue trying to have a consistent view of my uitextview.</p>
  
  <p>when it appears on my view that blue indicator stay out of it content</p>
  
  <p><a href="https://i.stack.imgur.com/a0yGf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/a0yGf.png" alt="enter image description here"></a></p>
  
  <p>but when I start typing it goes to the right place</p>
  
  <p><a href="https://i.stack.imgur.com/xVPOU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xVPOU.png" alt="enter image description here"></a></p>
  
  <p>also when I delete the text that happens:<a href="https://i.stack.imgur.com/Gtw13.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Gtw13.png" alt="enter image description here"></a></p>
  
  <p>Thats 's the code that configures my text view:</p>
  
  <pre><code>    textView.delegate = self
      textView.layer.borderColor = UIColor.lightGray.cgColor
      textView.layer.borderWidth = 0.5
      textView.layer.cornerRadius = 15
      textView.contentInset = UIEdgeInsets(top: 4,left: 4,bottom: 4,right: 4)
      textView.layer.masksToBounds = true
  </code></pre>
  
  <p>I added it to my view will appear. Don't know why it is happening.</p>