fixed issues with setting background and stroke colors not fully working