Getting rid of redundant countFPS calls