Add support for viewing area when drawing a rectangle. fixes #303
Update changelog.