scriptengine sets invalid scriptkeys on scriptables on its destruction