Set wasInBed in postEnable to prevent kicking with plugin managers.