Fix performance regression caused by transparent backgrounds on lines and gutter

Fixes #3075
I assume you tried this with themes that have a gutter bg color and those that dont or are the same as the editor, eh?