Fix dragging opacity hack so that it works.