Fixing elasticity to range [0,1] during collisions.