Fix #3264. Thanks @websemantics
Merge branch 'refs/heads/2.3/develop' into 3.0/develop