The script is a bit long but I can\'t reduce it much because it\'s all connected to the problem.
I could manage to solve the problem at the bottom in the Update but i