fixed bug that disabled left/right keys