Fix missing @virtual_path with Renderer on rails 4.

This will fix #495.