Makes sure the chart view is the first responder after toggling the inspector panel. In particular, this commits any changes made in the panel and ensures the first responder is always visible.