fix inShape Bug when rotate and scale.