Fix for bug 640 - moving thin frames leaves mess