Fixes thread parameter passing when loading a diagram