Zero negative pixels prior to calculating moments