Fix amino acids context menu, make sure it works fine with canvas

[#57816788]