Fixed a bug: missing image origin