IDE: Fixed resize issue when sidebar collapsed.