Fix chart staying inside containing div.