Fix for tick timer
Add canvas clear context