Opacity scaling now working correctly, but should move logic into gradient view.