Revert "that code looked strange and might explain some artifacts"

Apparently this code was not so strange. It looks even worse after my
change. Maybe I should make it clearer that I'm just guessing right now.
Where is this big black rectangle coming from?

This reverts commit d55dfdb9b48196b9907a7023cb338a62bac99127.