Fixed a bug when saving 540x540 bundle or raw with blank images.