Fixes #5446
Readds check for sharp && !ismob(W.loc)
Merge pull request #5453 from mwerezak/embed-fix

Fixes #5446