existPosition already equals actionFrameDic["positionx"], so we should use this value directly.