Fixes the anchor positions.