Only fire for the correct window.
 Add more debugging.