Please refer to the attached sample project. Workaround: Initialize the form just before showing it.
As a general, it is advisable to declare DPI awareness for an application in its manifest file. Applications, that declare DPI awareness in the config file and that run on Windows versions 8 and above, must declare their compatibility with that version of the Windows in order for DPI related APIs to work properly. In the current instance, the manifest file is missing and this is the cause of the wrong scaling behaviour.