Layout image bug fixed