Moved the glBlendFunc into the renderImage method.