fix #4185 Make rectangle borders non transparent

Again I have no idea if this really fixes #4185 but there is also no recognizable reason to have these borders defined with an alpha value < FF

Sorry for three commits with this PR, but via UI it seems to be not possible to squash them into a single commit.