add back leaves_opaque