updated DPI calculation for winrt and wp8
fixed setScissorInPoints for WP8