Added sprite compability