Fix for when there is padding on parent