Even more interesting 🙂
I tested this in Chrome 52 as well (both Opera 39 and obviously Chrome 52 are based on Chromium 52), but there the bug wasn't present, so it seems like an Opera specific bug.
Also, I use Ubuntu with Unity, so it doesn't seem to be a distro or DE dependent bug.