OK, got it: move this line out of the Activate method and into the ResolveOrder method, right below the call to the Activate method. That both gets rid of the flickering lines and preserves the original behavior.