[Bug 373127] support for setting the display size independently from the monitor resolutions