fix: clamp pointer edge after applying the output offset