fixes #10497: Fix Windows 8 and Windows Phone 8 behavior and apply it to the docs