Fixed window resizing and scaling in agg experiment.