WPF: Fixed DPI scaling for GraphicsContextWrapper/MemoryGraphicsContextWrapper. Wave form resolution is now much better in HiDPI mode.