fixed mouse interaction and clear canvas in home.html