Fix adjust matrix simulation window for large resolutions