It's actually a feature, not a bug. You can use it to easily move the window around screens or snap it to one side of the screen even though the tab-bar is full of tabs. Otherwise you'd have to look for very small remaining areas (below menu button or below min/max/close-buttons) to drag the window.
But that's a matter of taste - hence the option to chose.
Opera for Windows