shadow: add RefreshRect/SuppressOutput support