Update renderer.rb

Fixes the visible?() method in the Renderer to use the correct arguments.