Weird rendering issue when scrolling in a popup

Hi,
I started developing a cookie editor for Firefox just for fun and I am having some obscure rendering issues.

The issue I have is that since firefox 57, when the user scrolls in my popup, the rendering of the extension messes up completely:
2017-11-29_14-30-13

What could be causing the addon to render this way? I am using normal javascript with jquery only. It was not doing this in firefox 56 but now in firefox 57 I get that issue.

This is the addon in question: https://addons.mozilla.org/en-US/firefox/addon/cookie-editor/

I have a similar issue… there are tickets for this here: bug 1418677 and bug 1380622.

There is another one here: Bug 1420865

This finally got fixed in Firefox 61