Fixed image compatibility problems