Messy attempt to fix the issue where chat doesn't scroll to the bottom with images.