Fixed bug that allows player to slide when dying while moving.