Color is not consistent for border and background when changing opacity

@walter thank you