Changed fps condition so that we don't try to change the fps to 0