Main: fixed renderer instantiation