Attempting to fix render bug. Fixes #1

This should fix #1