Core/Collision: Fix memory leak