Fixed one bug in Rendertarget with drawbuffers
code cleanup