[HorsUS] Fix setViewport deadlock.