[UI] Fixed the bug which might cause display error if background color is not opaque.