I think I found something: On a fresh new form it is enough to change the Form.Align property to something different than alNone and the form starts growing indefinitely.
Also, when the form has BorderStyle of bsNone, resizing it gives an inexact result, see attached picture.