I have the same problem, 2 hours for making my perfect sensor panel and then this big fail.
Mi setup is a Samsung 49 led Smart tv conected via HDMI and a 10.1 screen from an old Acer aspire one conected on the DVI atached with a controler board from aliexpress.