Minor nitpicks, also harden allocation-failure path when resizing frame canvas