Fix shield generator being fucked with by ghosts. (GitHub #481)