Fixed instance bugs, fixed PotionType.apply