Improved performance by doing things on drawing text on canvas sh**.