Here's what we figured out by using the the image when we grab the frame (our method called grabFrame) which sets the frame as an image, so we can put this code below in a method that take an image as the parameter so then whenever the size of the image changes, to will the ImageView object and the Canvas object
double aspectRatio = image.getWidth() / image.getHeight();
double realWidth = Math.min(videoView.getFitWidth(), videoView.getFitHeight() * aspectRatio);
double realHeight = Math.min(videoView.getFitHeight(), videoView.getFitWidth() / aspectRatio);
videoView.setFitHeight(realHeight);
videoView.setFitWidth(realWidth);
canvasView.setHeight(videoView.getFitHeight());
canvasView.setWidth(videoView.getFitWidth());