fixes bug with knockback.