FPS counter takes average of 5 frames