Fix painting with Graphicsview, fix transparency issue with image render