Fix castpoint cancel behavior