Fixed some bugs with EntityLokoise