This script is resource heavy, so it could contribute to the ghost vehicle problem. Its not really the script's fault, though. I can't do it any other way that checking stuff every tick.
You can try and disable features from the ini, every feature disabled stops being run every game tick, and should help with performance.