Fixed performance bug with points data frame