Fix code to add shapes to window- the method just needs to run, not return the value into img.