@alalek Fixed - https://github.com/Itseez/opencv/pull/2715