Make the start and end point based on the view's origin

Authored by Stefan Kieleithner <stefan.kieleithner@gmail.com> on Jan 24 2018, 3:41 AM.