Fix boundary position