Quick and dirty fix for plotting minimization trjs