modified sonix binding; added constness to scalingGetPosition function