Fix scrollHeight issue?

So, this appears to fix the scrollHeight issue I was having in #40, but I'm not 100% sure why. I still get the scrollHeight error message in my console, but it is no longer breaking anything... I can continue to use pikabu without any issue to it or any other operations on the page. Can anyone help me understand why this might work, or if there's anything you see that should be done to make it work even better?