If the cream cheese is at room temperature and placed in the frying oil it has more of chance to leak out of the wrapper. Placing the cheese rolls in the fridge first to firm up and ensuring the oil is hot enough, will help minimize the cheese leaking out.