Image rendering fix