Fixed a crash due to improper bridge-casting with ARC