Fixed bug of clippinglayout