Extract method for drawing frame rate.