Update CollisionHandler.java

Fixed a mistake in the friction detection that also caused Java3d to freeze.