fixed dot/line collision