Fixes AI Eye being killed by shuttles and pods

Fixes https://github.com/tgstation/-tg-station/issues/4898
No... Whatever the object that contains the variable status_flags, which you use below, Do an istype() for that object and if the istype() succeeds typecast it.