freerds: fix keyboard mapping issue with extended key flag