better support for colorized form inputs and tabs

this is an essential fix when using form inputs and an active tab that aren't white.