Fix segfaults in 2D with this physics