Fix for API change to ScaleManager

This was causing the example to fail to load on mobile devices.