Reversing unintentional code reversion from commit 1a4a14baeeand added clear color option for #190