canvasControl updated to handle fps change