Improving implementation of "zoom to extent" functionality.