Fix mouse controls so only canvas clicks are counted