fix images not rendering on new tab load.
Fixes #6