Fix for platform resume error on WP8.