Removed layout:reset() call