Fixed a bug that caused physics objects not to update