fixes #6 where border color would be incorrect when on = YES and onColor was changed.