restore colorkey correctly in opaque