Keep gate open when changing portal material