Revert "Hacky fix to render."

This reverts commit 6a248768db57e41d48d6a4a25729a17cc76fb9fa.