Fixed layout so that it sizes correctly.