Fix for losing ability to draw on WP8 after coming out of standby; possibly fix other platforms as well.