fix for camera resize on flash target