Small bug fix: opacity wasn't taken into account.