fix wxWidget assertion (double creation of alpha channel)