bound canvas and mouse coordinates work