Fixing image init.