Thanks everyone for replying so swiftly!
Cheers, /Martin
Hey Martin, One of the best ways to get help on an issue like this is to post a little test script along with the images used. Also, sometimes you can figure out stuff like this in the process of putting together a test that demonstrates the problem.