Use split's section instead of current section

Fixes bug of colors being displayed wrong sometimes