fixes issue with bounds of content