ArrayIndexOutOfBoundsException in PureImageProcessor fixed