bug fix: velocity change during border colision