Added a MatrixStack to manage the scene hierarchy