Fix D2dDcompRenderer device lost processing.
Minor improvements.