Fix dimensions of animated gifs in ImagickImageAdapter