Fix phantom tab bug and extension shortcut