TCanvas::Print PNG outputs fraction of figure when canvas size is declared

I think the problem originates somewhere in TCanvas::SetWindowSize which sometimes fails in interactive mode, but here’s your own, more than 2 years old, post concerning the second problem: