Next time it happens, swipe from the top of your screen to the bottom to open the notification screen an there it should show you a notification the (in my case) Opera browser is using 'screen in screen' mode, if you tap it you should be able to turn this off,
hope this helps