Add FPS performance measurement to stop coin animation on slow browsers