Backends, Viewports: Vulkan: Fix the use of the incorrect fence in wait for fence. (#4208)

The fence being waited upon was not the one associated with the current frame.
This results in validation error detecting a reset of command buffers still in use and resetting fences while still in use.
Read more details in #4208
2 files changed