Don't try to convert nil image values; fixes #43