Rewrite image_opaque to correctly handle negative coordinates

Status Job ID Name Coverage
  Test
passed #4599
test:cargo

00:00:54