fixed bug: delete chars - the height of the toolbar was getting smaller even if the contentSize was bigger than the height