Revert c8431493be that causes artifact in non-buffered rendering mode in some games