Consider only px values in calc - fixes #6

Signed-off-by: Robert Weber <closingtag@gmail.com>