fix dock position error