PiP window is closed after every video
Running 3.0 alpha 5 on Chrome 81.0.4044.122 on openSUSE 15.1.
When playing a video from a playlist with Picture in Picture enabled either by right-clicking the video or by using this bookmarklet:
javascript:document.getElementsByTagName('video')[0].requestPictureInPicture();
and with ImprovedTube activated, the PiP window is closed for each video returning it to the original tab, as if each video's page is loaded from scratch.
The expected behavior would be for the PiP window to remain open and playing through every video in the playlist (if playlist autoplay is enabled of course). Disabling ImprovedTube returns the window to the expected behavior.
This issue started in 2.44 but it seems related to all the issues that have been appearing since a couple of weeks ago (like the issues with autoplay and videos not playing and displaying an error). Maybe something changed by YouTube?
Fixed (https://github.com/code4charity/YouTube-Extension/commit/44f0bc4bc22b854af3b6157e8a0b561155694d91)