fix an issue with the alpha channel render after the refactoring earlier today