Was producing the wrong intermediate image for display