Flask now shooting in direction of the cursor