Prevented enemies from walking out of bounds