fixed insane texture dimensions problem in gif renderer