Swallow StackOverflowError when updating physics.

Prevents an otherwise unneeded crash.