Making the WX timer independent of the canvas