Fixed development code issue with CSS opacity. Closes #1504.