restrict extent on view and layer (see #158)