Revert headless mode change