Fixes #19. Some auto layout bugs in Xcode mess up layout after switching tabs