Add reference in Render2D.scala.
In Render2DView, tighten the access rights for fields.