Fixes for Windows Phone design-time errros