Fix #507 - calculate container width and heigh without padding