Fix bug for losing the amount of top the content have in heigt