bugfix: create transparent mask for non-transparent images before pasting