fixed bug when setting content size with a padding on the layout view