Fixes the border of box