set spark opacity correctly