#2150 work in progress. Patch limits get updated even if width or height of a patch might be 0 (but not if both width and height are 0).
#2150 wip - added change log
#2150 updating comments
Merge branch 'issue_2150'

Conflicts:
	CHANGELOG