Better handling of rounded window borders.