It has something to do with the Min and Max Form size. I don't have time to investigate the root cause, but if you reset those to (0,0) it will work both ways. It is most likely due to the workings of SetBoundsCore.