Fix bug in popover preventing bind to viewmodel properties.

This was caused by 4722c3a6c392e1d45a6871599037bae91c490aca