Adopt code to changes made in

fife@d7a4bb2156d695b3504bf893cf1326eea0f1a93d
Fix crash on fps display.