Don’t use a timer for updating the image, not a great way of doing it. I don’t understand your code and what you’re trying to achieve very well to give better advice.
For updating the frame, use _process and use the delta for having the correct time to update the frame.
You might get more useful help in the discord server in the GoZen channel ;)