Bugfix: Get mode for blend layer from parent image.
Fixes "Images do not match" crash.