fixing bug with blendmode