effectively prevent screen tearing and stuttering