I have tried using fix provided by @hazrpg (https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-ubuntu-dock/+bug/1768543/comments/5) at the https://askubuntu.com/questions/1183065/windows-not-aligned-properly-in-the-preview-in-dock-on-ubuntu-19-10/1232740#1232740 and it was fixed.
I have tried using fix provided by @hazrpg (https:/ /bugs.launchpad .net/ubuntu/ +source/ gnome-shell- extension- ubuntu- dock/+bug/ 1768543/ comments/ 5) at the https:/ /askubuntu. com/questions/ 1183065/ windows- not-aligned- properly- in-the- preview- in-dock- on-ubuntu- 19-10/1232740# 1232740 and it was fixed.