drawing to rendertarget correctly