Simplify angle code in bg-gradient editor. Fix stupid typo.