fix safari crash by avoiding use of calc
Merge pull request #2 from sorvell/master

pica: fix safari crash