Fix incorrect setting window scroll top