Dispatch a change event when the geometry is set

Fixes #2016