Fix IsDevToolsOpened when devtools is attched to pane on Linux.