Improved native control for DirectX rendering