fixed issue with collision at low framerates