fixed ugly outline around Switch fixes #299