fixed negativity bug in pixel projection