My question is almost the same as this question except on difference. In that question the OP was facing trouble moving any window to the secondary monitor, which is on top in the layout, whereas in my case I can move all windows above except Chrome browser.
The issue does not appear when the display layout is side by side.. It only appears when the layout is top above.
My Macbook has Mac OS Mojave.