transposeMaskedImage: fix transposition

Wasn't working due to numpy float vs float32 issues with ImageF.