Fix format validation on "canvas/capture" plugin