[Qt5] Fixed hiding close button on current tab when dragging it

[ci skip]