Fixes #1097 FF bug that closes popup based widgets when scrolling too fast