Move legend window after resize
Merge branch 'issues' into fb_plots