fixed the inverse-color-mixing bug, fixed the last-frame-modal-dialog-error