Fix #5741: No Live Preview Error when launching Live Preview from an image

This is for #5741.
@julieyuan