Fixed fps problem in qtViewer app