Fixed rmagick related bug