Fix bad useage of calcRects