Use variables defined in our .props files instead of hard-coded values and use DPI aware manifest instead of using "compatibility" one with which the sample didn't work correctly in high DPI.