Fix potion effects not being applied.