Fix slate layout.