Adding frameRate and setViewport