Updates to get rendering to only work on on-screen objects.