Maybe I'm missing something hugely obvious, but shouldn't the input field be rendered using a native control which would preemptively eliminate that bug and reduce the need for rewriting code that's been written countless times before?
Broadly speaking, native controls don't like being composited into OpenGL scenes (which are necessary for things like 3D transforms).
Eventually we do want them to look more like the controls on the platform they're running on, though.