Fixed x-ray communication and Funcs.isServer