Added a new overlay (rectangle) including example, two new events (mouseup, mousedown) and some documentation.
(cherry picked from commit 70b9249b772956618946f933af141ef8ad0db0d9)