Fixing bug with alpha.