Workaround Kotlin bug KT-5389 vy calling charAt directly.