Avoid call 'positionDropdown' function if the container it's closed