Fixed bug that would cause on-screen objects to not be rendered.