Bug fix: The `opacity` variable is undefined.