Canvas Animation and Mouse interactivity