Added code for display fps on screen