Revert "Remove opaque check in GLRenderer when preparing dirty region."

This reverts commit 04069363d3c501730c9f9c7be315f72641ff8d40.