fix FPS counter
Merge pull request #1 from mniip/master

fix FPS counter