fixed zoom fit
Merge pull request #1003 from TShapinsky/issue_935_zoom_to_fit

Fixed Zoom-To-Fit in Editor