apply 0026-Handle-return-value-of-BeginFrame-better.patch