Fixed compatibility with non physics demo.