Fixing the 'underwater' bug in PlanControlStatePanel.