It’s a known bug from upstream mutter. A fix is being worked on and there’s a PPA with the updated packages by the Ubuntu developer working on the fix. It resolved the problem on my end.