Fix layout for item in right panel