Mask.inject "where" fix

Fixed the Mask.inject function to inject at the right position relative to the target. The "where" was wrongly determined