Use ORIGIN_X and ORIGIN_Y in reset