Set the virtual path before rendering