Fixed minor issue with frame rate