Fix to Panels layout