Flip sqaure

Hi People,

Im trying to flip a square. The coin flip as works fine with round shapes, but with a square it just doesnt do it.
Can anyone give a hint?

Thanks,
m.