Got window click detection to work!