Fixed autolayouting issue