to support the hack from the preview target offset