fixed bug with framecount updating images