If vest contains a single item the drop action is prevented as expected. Backpack does not have to be empty, just contain enough room for the vest to fit.
It appears the reverse, i.e. dropping the backpack on the vest slot, does not cause this bug to appear.
If the steps are repeated several times, it eventually causes the game to crash.