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

This reverts commit e0380e0eb2dea5c8a29590bc65b97a7d59e1bf53.