Try to use my code. When the panel coordinates allow only integer's and you move them very gently, they "snap" all the time, because you cannot pose them on 3.5 or 6.03 or that kind of stuff.