Blank images in camera_image

I have a floorplan map

In this, I have the images of my surveillance cameras

                    - camera_image: camera.veranda
                            entity: camera.veranda
                              border: 2px solid red
                              border-radius: 10%
                              left: 75%
                              top: 75%
                              width: 10%
                            type: image

As you can see from the image, when the camera_image is refreshing… or if there’s a connection issue, the image appears to be blank and bigger

is there a way to prevent this?