fixing pgraphics blackness