Fix dependency properties on WinRT by using current.

Does what it says. It also backports the fix from #619.