Fixed resize issue.
window color optimalization