Fix NPE in burn prevention around portals.