Fix #87: isolate() drops invisible flag

Do you think this is safe?