Minor fixes for PermissionsController and scene loading.