Count frames even if canvas isn't redrawn