fix opacity for textured rectangles