Fixed bug where  throws ValueError because we haven't clicked anything, so ts._px is None