Fixed problem with panel layout.