FIX resetPosition is not a function