fix wrong pixel format init and wrong process in qpainter filter