If frame is null, we will have crashed already from dereferencing it.