fix issue of different border stroke when moving object.