fps counter working and reported every 5 seconds