fix bug to get height of element where plugin was initialize;