Fix layout for shutterbug

canvas elements get replaced by images before snapshotting, so make sure
the image gets the same styling