Fix UI lua module inheritance