now it suprisingly works! by render to a widget instead of image.