fix wrong max size on multi monitor config