Bug fix in the repositioning of the arrow