[4.0] Fixed gif-loading GetImageSize() bug