fix bug of kirby movement