Fixed minor ability casting bug, Fixes #82