fixed window color bug