Restrict the shape inside of the box

Shape does not go out of box now~