fix render apng frames