Hi @Erel,
I tried the method you suggested, but the result is the same.
In debug mode everything is ok while in release mode a blank page appears.
With double-ckick on the white page, the same is automatically reduced in size.
I have attached the two sample programs, mine and yours