I'm not great at hotbuttons yet, but I do believe your CX/CY references are off, which are causing the non-clicks (power of 2 for graphics)
i.e. 1, 2, 4, 8, 16, 32 ... 256, etc
You can use non-compliant evens that are divisible by 2, but they'll get squished down..