Fix widget flip issue

1. fix widget class scale and flip conflict issue