Attempt to fix client crashes when playing EasyUO scripts