Fix ramp height of 16-bit mono image