Fix previousOwner bug

I encounter bug in my branch caused by wrong handling of previous owner in basic OXC.
As it is clearly wrong even in master branch, I push this fix there too.
a) `moveOwner` could override `setPreviousOwner` if called after.
b) `_previousOwner` is ptr and `previousOwner` is int.