Fixes origin logic and correct crop using coordinates specified relatively to original system.