woah! thanks for investigating! yeah that script was a quick & dirty optimization on my part. I tried your method and it seems to function as intended after a few tweaks (unsure what framecount is for but those objects should always reactivate, obj_player_cache is just obj_player).
I can't do a hotfix at the moment so this'll be in the next major patch, which should (hopefully) be out within the next month or so.
thanks again for helping optimize the game! I would love to see it running on old hardware!