Fix incorrectly displayed OSD when using EVR renderer.

This commit fixes #2889.