Fixed binding twice if attached twice.