Fixes iOS force close on anchor bug