Two changes to reduce flicker: Using double buffering and updating the ticking times right after the model is updated.