Fix regression with sidePanel in borderLayout