extension-tool: Fix multi-monitor handling in example extension