Fix problem on dual screen with different resolutions

When on a configuration with two screens of different resolution, the
window is now resized at the width of each screen