Fix async loading of PaperScript to use correct scope.