Fixed content perfect fit bug