Tweak opacity
Avoid dividing by zero