Revert "Bugfix: Fix for background rendering crash"

This reverts commit 47ec92375c3c5322d24cbefd1ae58e75f26ca354.