Solved a layout bug