Upgrade brightray, fixes #769