Fix opacity applied one frame too late in accelerated mode. Fix #435.