Improve SDL 2 <-> AntTweakBar keyboard handling