border-radius optimization

Signed-off-by: Gauke Pieter Sietzema <gp@sterc.nl>