do the calculation with floats and then always set the panels coordinates to that floats. I know that it will interrupt your workflow a bit, but that would be a workaround for now.