[PD] Canvas size changes when a patch is opened and closed