Change draw method of box to take center as reference and clean the clipping method