[MP] Fix crash when drawing input fields