pt to px was a mistake