fix bug where text editor widgets under SDL2 weren't swallowing key press events when they should have