mod_base: Fix rendering issue in TinyMCE when scrolling

Fixes #509