setscenerect now happens inside the layermanager