fixed issues in sandcastle example
simplified the way CameraFlightPath.createAnimationExtent accesses functions in CameraController
added catches for when frameState.mode is morphing to avoid weird behavior