Fix Imagick get size for animated gif

Instead of using last frame and getting size on it, use first one which always has right width and height.

Alternative, use layers()->get(0)