Fixed a bug where creating image without volume hangs.