Fix casting in Potion, fixes #53