Be sure not to leak frames in certain cases