Fix getting container size on IE10