core:_text_sdl2 fix for python3