Fix keyframe length bug
Fix crash for Magick++, Gif and other targets utilizing init() function