Fixed crash on exit when video engine is running + fixed some hashs problems for input nodes.