stretched d2 looks like many things but definitely not alright

Btw, is there a way to start game in window of specific resolution? Scale parameter is integer only, it can go only to 2 or 3 which is too big.
Issue is, if i run it with 2, it cuts it to 184%, and i have maximized window with d2 in the middle of it. But i can't then resize that window, if i resize it to 4:3 window, it shrinks the black bars on the sides.

If i start game without scale, it opens up 124x768 small window, but then when i resize it, to whatever size i want, its blurry.
Resized window vs full screen:

edit:
Seems that nocompatmodefix=true and then selecting compatibility windows 7 fixes the problem, with that selected, resizing window keeps the sharpness.
#IfWinActive ahk_class Diablo II
F10::
{
WinMove, Diablo II,, x, y, z, q
}
; x,y - position of left upper corner of window
; z,q - window resolution