fixed left and right key released actions causing bg to slide when not suppose to