Fixed Math prefix.
Use pixels method instead of instance var.