Changes to image scaling in demo