Modified to work with new wombat that separates update time and frame time.