Add 'distance to canvas', remake math for the proper calculation