Fix crash using TextFields on Nvidia hardware