merge from FreePIE: vjoy bugfix

Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>