Windows UI scaling not respected

Thanks! But using all new code is not a viable method of teaching cross-platform scripting.

FX2D should respect UI scaling on Windows as it does on macOS.