JavaImageEditor - fixes use of width instead of height