Fixed calc problem

was forgetting to count the border width