check if pygpu_copy failed. Do the same fix in the old back-end.