Emulates Windows behaviour more closely. Fixes refcount-related
error messages in Unreal Engine 4 (see #302), as well as a crash
in Yakuza 0 (see #533).
Since we are doing this for UAVs already, we should be
doing this for all view classes in order to account for
the minor differences between all of them.